﻿using Finbook.GameApp.Models.V5;

namespace Finbook.GameApp.Models.V6
{
    public class SkillV6
    {
        private SkillV6()
        {}
        private int _num;

        public int Num
        {
            get { return _num*Multiply; }
            set { _num = value; }
        }

        public int Multiply { get; set; } = 1;
        public SkillType  SkillType { get; set; }
        public SkillTarget SkillTarget { get; set; }

        public static SkillV6 CreateSkill(int num,
            SkillType type= SkillType.Damage,
            SkillTarget target= SkillTarget.Enemy)
        {
            var skill = new SkillV6();
            skill.Num = num;
            skill.SkillTarget = target;
            skill.SkillType = type;
            return skill;
        }
    }
}